package com.gopay.common.domain.bank.ccb.cbrmb;

import java.io.Serializable;
import java.math.BigDecimal;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 
 * @ClassName: CbRmbXmlFileHead 
 * @Description: xml 文件头 
 * @author gd.cui 
 * @date 2016年6月29日 下午2:13:05 ww.gopay.com.cn Inc.All rights reserved.
 */
@XStreamAlias("ThHead")
public class CbRmbXmlFileHead implements Serializable{

    private static final long serialVersionUID = -8186368897544541304L;
    
    /**
     * 总笔数
     */
    @XStreamAlias("totalcount")
    private int totalcount;
    
    /**
     * 总金额
     */
    @XStreamAlias("totalamt")
    private BigDecimal totalamt;
    
    /**
     * 交易日期 yyyyMMdd
     */
    @XStreamAlias("tradedate")
    private String tradedate;
    
    /**
     * 版本号 默认1.0
     */
    @XStreamAlias("version")
    private String version;
    
    //回盘数据
    
    /**
     * 总扣款金额
     */
    private BigDecimal totalpayamt;
    
    /**
     * 总交易手续费
     */
    private BigDecimal totalhandling;
    
    /**
     * 总交易电报费
     */
    private BigDecimal totaltelegram;

    public int getTotalcount() {
        return totalcount;
    }

    public void setTotalcount(int totalcount) {
        this.totalcount = totalcount;
    }

    public BigDecimal getTotalamt() {
        return totalamt;
    }

    public void setTotalamt(BigDecimal totalamt) {
        this.totalamt = totalamt;
    }

    public String getTradedate() {
        return tradedate;
    }

    public void setTradedate(String tradedate) {
        this.tradedate = tradedate;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public BigDecimal getTotalpayamt() {
        return totalpayamt;
    }

    public void setTotalpayamt(BigDecimal totalpayamt) {
        this.totalpayamt = totalpayamt;
    }

    public BigDecimal getTotalhandling() {
        return totalhandling;
    }

    public void setTotalhandling(BigDecimal totalhandling) {
        this.totalhandling = totalhandling;
    }

    public BigDecimal getTotaltelegram() {
        return totaltelegram;
    }

    public void setTotaltelegram(BigDecimal totaltelegram) {
        this.totaltelegram = totaltelegram;
    }
    
        
}